package com.bishe.bishe.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "advertisement")
public class Advertisements implements Serializable {
    @Id
    private int adverId;
    private String adverContent;

    public int getAdverId() {
        return adverId;
    }

    public void setAdverId(int adverId) {
        this.adverId = adverId;
    }

    public String getAdverContent() {
        return adverContent;
    }

    public void setAdverContent(String adverContent) {
        this.adverContent = adverContent;
    }

    public Advertisements(int adverId, String adverContent) {
        this.adverId = adverId;
        this.adverContent = adverContent;
    }
}
